package cn.dakaqi.volunteer.money.services;

import cn.dakaqi.entities.VolunteerMoney;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

/**
 * Created by chunyang on 2016/5/4.
 */
public interface VolunteerMoneyService
{
    public void create(String data)throws ServiceRuntimeException;
    public void save(VolunteerMoney volunteerMoney)throws ServiceRuntimeException;
    Page<VolunteerMoney> findByMemberCode(String memberCode,int type,int pageNumber)throws ServiceRuntimeException;
    Long findByMemberCode(String memberCode)throws ServiceRuntimeException;
}
